Fix handling of stock items without icons in action-based ui. (#342458,
authorMatthias Clasen <mclasen@redhat.com>
Tue, 20 Jun 2006 18:01:23 +0000 (18:01 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 20 Jun 2006 18:01:23 +0000 (18:01 +0000)
commit8a763ca49d386e4c808b040d8138783916872964
tree1f8b48235111809cbe92e5f7b1f5ab993e6bcc2d
parent0bce4d271acc1d280df4aafd6d1d3409a088d1c6
Fix handling of stock items without icons in action-based ui. (#342458,

2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Fix handling of stock items without icons in action-based
ui.  (#342458, Callum McKenzie)

* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set
the stock id even if there is no icon for it.

* gtk/gtkaction.c (connect_proxy):
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
construct a stock icon if the stock item has an icon.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkaction.c
gtk/gtkactiongroup.c
gtk/gtktoolbutton.c